import 'package:get/get.dart';
import 'package:smart_devices/vo/device_supplier.dart';

class DeviceSupplierLogic extends GetxController {

  RxString search = RxString('');

  RxList<DeviceSupplierVo> suppliers = RxList([]);

  @override
  void onInit() {
    super.onInit();
    for (var i = 0; i < 15; i++) {
      suppliers.add(DeviceSupplierVo(name: '供应商一', contact: '敬雅惠', mobile: '15063945461'));
    }
  }
}
